Bump Flatpak runtime versions for new projects#1545
Bump Flatpak runtime versions for new projects#1545freakboy3742 merged 2 commits intobeeware:mainfrom
Conversation
|
I've narrowed this down to being a problem for Python 3.8, 3.9, and 3.10; when using Python 3.11 and 3.12, the dependency on ❯ ldd ./build/flatpaktest/linux/flatpak/support/python/bin/python3.11
linux-vdso.so.1 (0x00007ffeda74f000)
/home/user/tmp/beeware/flatpaktest/./build/flatpaktest/linux/flatpak/support/python/bin/../lib/libpython3.11.so.1.0 (0x00007f6859c00000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f685b42f000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f685b42a000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007f685b425000)
libm.so.6 => /lib64/libm.so.6 (0x00007f6859b1f000)
librt.so.1 => /lib64/librt.so.1 (0x00007f685b41e000)
libc.so.6 => /lib64/libc.so.6 (0x00007f685993d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f685b44f000)❯ ldd ./build/flatpaktest/linux/flatpak/support/python/bin/python3.10
linux-vdso.so.1 (0x00007ffe1c6ef000)
/home/user/tmp/beeware/flatpaktest/./build/flatpaktest/linux/flatpak/support/python/bin/../lib/libpython3.10.so.1.0 (0x00007ffad6800000)
libcrypt.so.1 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007ffad7e9a000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007ffad7e95000)
libutil.so.1 => /lib64/libutil.so.1 (0x00007ffad7e90000)
libm.so.6 => /lib64/libm.so.6 (0x00007ffad7dad000)
librt.so.1 => /lib64/librt.so.1 (0x00007ffad7da8000)
libc.so.6 => /lib64/libc.so.6 (0x00007ffad661e000)
/lib64/ld-linux-x86-64.so.2 (0x00007ffad7eba000)
libcrypt.so.1 => not foundThe development in Standalone Python that claimed to remove this dependency didn't make any carve outs for older Python; so, I'm not sure if this in intentional or what yet. |
|
Feedback in astral-sh/python-build-standalone#173 (comment) confirms that Python 3.8, 3.9, and 3.10 should not be linking As a note, |
646ca5c to
cbedaec
Compare
cbedaec to
3e2cd95
Compare
freakboy3742
left a comment
There was a problem hiding this comment.
I've clarified the specific versions in the release note; but otherwise 👍
Changes
org.freedesktop.Platform:22.08->23.08org.kde.Platform:6.4->6.6org.gnome.Platform:44->45Notes
org.gnome.Platform==45,org.kde.Platform==6.6, andorg.freedesktop.Platform==23.08do not havelibcrypt.so.1and Flatpak builds are failing because Standalone Python is still looking for it.... I was under the impression that Standalone Python was dropping its dependency on this ancient library....but maybe I misunderstood something....libcrypt.sowas dropped for Python 3.10, 3.9, and 3.8 with astral-sh/python-build-standalone@80cd87f and released in 20240107.Dependencies
libcrypt.so.1unexpectedy in releases 20230726 and later astral-sh/python-build-standalone#197PR Checklist: